home *** CD-ROM | disk | FTP | other *** search
- In a message of 19 Mar 96 Fabio Bizzetti wrote to All:
-
- >> I am currently drawing (using WritePixel()) and scrolling (using
- >> ScrollRaster()). However, I want to be able to draw and scroll completely
- >> *independently* of the final bitplane. So I draw and scroll planes 1
- >> through 7, but plane 8 stays completely undisturbed.
-
- FB> Sorry to say it, but this is a good example of reality about OS and
- FB> direct hardware programming. And also if there's a way to do it with the
- FB> OS, it'll be damn slower and expecially damn more innatural and complex
- FB> than it has to be.
-
- For what I wanted to do, I managed it perfectly entirely using the OS. Thankyou
- to everyone who answered my question! There's a gfxmacros.h macro called
- SetWrMsk(), which allows you to select which planes you want most of the
- graphics.library functions to work with. I just told it to ignore the final
- plane, and it works exactly how I want.
-
- However, I *am* having to scroll the screen using ScrollRaster(), where in the
- ol' hardware bashing days I would have directly manipulated the bpl pointers.
- This would have meant that I could *dramatically* reduce the CPU time required,
- and there would not even any be any need to double buffer the screen (which I
- have to now)..
-
- FB> What are the king of games?: consoles. Have you ever seen a console
- FB> programmed through an OS such as Amiga's one?
-
- Whilst AFAIK all the new consoles (PSX, etc.) *are* completely written through
- an operating system, it is admittedly very different to the Amiga's OS. This is
- strange, since the very nature of the Amiga is that it will be upgraded,
- whereas the PSX probably won't be (ie, it'll be replaced).
-
- What I think the Amiga really needs is full hardware support via the OS. Then
- when the hardware changes, the libraries can just be rewritten, and everything
- will continue to work.
-
- Why can't we have OS control over blitplane addressing? I'm perfectly capable
- of allocating a blitplane and calculating addresses within it, but I'm not
- allowed to access the h/w registers to set them to point to these addresses. A
- system hardware.library (or whatever) would allow me to do this in a fully
- system friendly way.
-
- Similarly, we could use a 3d.library (for vector graphics), chunky.library (for
- chunky operations), etc.etc. If these were written using the most optimal
- techniques possible, and supported and updated, they could solve a lot of the
- Amigas problems..
-
- .\dam. [Team AMIGA] //\ ad32@brighton.ac.uk \\/
-
-